aboutsummaryrefslogtreecommitdiff
path: root/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioDefineStructTests]/[method:canGenerateCodeForDefineStructPositional(org.shedlang.compiler.testin...
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2026-04-07 19:58:08 +0100
committerMichael Williamson <mike@zwobble.org>2026-04-07 20:36:45 +0100
commitffcf99fabf00f21ee48f82c913e2ad06b3b0c395 (patch)
treeec780a86566fd55ce57ad1f4f9cf1eeeec7e5cbe /snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioDefineStructTests]/[method:canGenerateCodeForDefineStructPositional(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
parent59b5294ffd1b5bf299f07cc0a586d67464a26cc3 (diff)
Return multiple values from Patio functions
Diffstat (limited to 'snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioDefineStructTests]/[method:canGenerateCodeForDefineStructPositional(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected')
-rw-r--r--snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioDefineStructTests]/[method:canGenerateCodeForDefineStructPositional(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected8
1 files changed, 4 insertions, 4 deletions
diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioDefineStructTests]/[method:canGenerateCodeForDefineStructPositional(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioDefineStructTests]/[method:canGenerateCodeForDefineStructPositional(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
index 66fb05e3..2583eee5 100644
--- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioDefineStructTests]/[method:canGenerateCodeForDefineStructPositional(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
+++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.shidtopatio.ShidToPatioDefineStructTests]/[method:canGenerateCodeForDefineStructPositional(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
@@ -4,20 +4,20 @@ Compilation unit elements:
function-decl
"shed__runtime__gc_get_root_stack_index"
params=()
- return-type=int
+ return-types=(int)
)
(
function-decl
"shed__runtime__gc_alloc"
params=((param "size" int) (param "runtime_type_tag" int32))
- return-type=data-ptr
+ return-types=(data-ptr)
)
(
function
"shed__function__User__0"
visibility=private
locals=((param "closurePointer__0" data-ptr) (param "local__name" int) (param "local__isActive" int) (val "gcRootStackIndex__0" int) (val "structValuePointer__0" data-ptr) (val "structValue__0" int))
- return-type=int
+ return-types=(int)
body=(
(call (local "gcRootStackIndex__0") "shed__runtime__gc_get_root_stack_index" ())
(call (local "structValuePointer__0") "shed__runtime__gc_alloc" ((int-const (byte-size-of (struct ((struct (data-ptr int32 int32)) (struct (int int)))))) (int32-const 3)))
@@ -57,7 +57,7 @@ Compilation unit elements:
value=(local "local__isActive")
)
(data-ptr-to-int (local "structValue__0") (local "structValuePointer__0"))
- (return (local "structValue__0"))
+ (return ((local "structValue__0")))
)
)